import { createPinia } from "pinia";
import useRectangleDialog from "./modules/rectangleDialog";
import useMonitorTableList from "./modules/monitorTableList";
import useLogin from "./modules/login";
import useBoolean from "./modules/boolean";
import useAccidentTableList from "./modules/accidentTableList";
import jurisdiction from "./modules/jurisdiction";
import useMouthPoly from "./modules/mouthPoly";
// pinia持久化
import { createPersistedState } from "pinia-plugin-persistedstate";

const pinia = createPinia();

pinia.use(createPersistedState());

export { useRectangleDialog, useMonitorTableList, useLogin, useBoolean, useAccidentTableList, jurisdiction ,useMouthPoly};

export default pinia;
